package com.tjhq.web;

import com.tjhq.dict.DictClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *
 * @author kingmom
 * @date 2017/12/7
 */
@RestController
public class Service2Controller {
    
    @Resource
    private DictClient dictClient;
    
    @PostMapping("/createTable")
    public Object createTable() {
        return dictClient.createTable(null);
    }
    
}
